package cn.eoeit.mmy.service;

import java.util.HashMap;
import java.util.List;

import cn.eoeit.mmy.bean.Pagination;
import cn.eoeit.mmy.model.FeedBackModel;
import cn.eoeit.mmy.model.RoleModel;
import cn.eoeit.mmy.model.UserInfo;

public interface IUserService {

	
	UserInfo finishLogin(UserInfo user);

	public Pagination<HashMap<String,Object>> selectAllUsers(int page, int rows) ;

	public List<RoleModel> findAllRoleModel() ;

	UserInfo finishAddUserInfo(UserInfo user);

	UserInfo findUserInfo(Integer uid);
	
	List<UserInfo> getUsers();

	UserInfo finishDelete(Integer uid);

	UserInfo finishUpdateUser(UserInfo user);
	
	

	FeedBackModel finishAddFeeBack(FeedBackModel user);

	FeedBackModel findFeeBack(Integer uid);
	
	public Pagination<HashMap<String,Object>> selectFeedBacks(int page, int rows) ;
	
	List<FeedBackModel> getFeeBacks();

	FeedBackModel finishDeleteFeeBack(Integer uid);

	List<UserInfo> getAllJianYanYuan();

	List<UserInfo> getAllKeHus();


	
}
